package com.ruoyi.pet.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 疫苗注射对象 pet_vaccine
 * 
 * @author ruoyi
 * @date 2023-09-01
 */
public class PetVaccine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 宠物id */
    @Excel(name = "宠物id")
    private Long petId;

    /** 注射后反应记录 */
    @Excel(name = "注射后反应记录")
    private String reaction;

    /** 疫苗名称 */
    @Excel(name = "疫苗名称")
    private String vaccineName;

    /** 接种剂次 */
    @Excel(name = "接种剂次")
    private String doseNumber;

    /** 接种日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接种日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vaccinationDate;

    /** 疫苗生产企业 */
    @Excel(name = "疫苗生产企业")
    private String manufacturers;

    /** 疫苗批号 */
    @Excel(name = "疫苗批号")
    private String lotNumber;

    /** 数据创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 数据最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }
    public void setReaction(String reaction) 
    {
        this.reaction = reaction;
    }

    public String getReaction() 
    {
        return reaction;
    }
    public void setVaccineName(String vaccineName) 
    {
        this.vaccineName = vaccineName;
    }

    public String getVaccineName() 
    {
        return vaccineName;
    }
    public void setDoseNumber(String doseNumber) 
    {
        this.doseNumber = doseNumber;
    }

    public String getDoseNumber() 
    {
        return doseNumber;
    }
    public void setVaccinationDate(Date vaccinationDate) 
    {
        this.vaccinationDate = vaccinationDate;
    }

    public Date getVaccinationDate() 
    {
        return vaccinationDate;
    }
    public void setManufacturers(String manufacturers) 
    {
        this.manufacturers = manufacturers;
    }

    public String getManufacturers() 
    {
        return manufacturers;
    }
    public void setLotNumber(String lotNumber) 
    {
        this.lotNumber = lotNumber;
    }

    public String getLotNumber() 
    {
        return lotNumber;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("petId", getPetId())
            .append("reaction", getReaction())
            .append("vaccineName", getVaccineName())
            .append("doseNumber", getDoseNumber())
            .append("vaccinationDate", getVaccinationDate())
            .append("manufacturers", getManufacturers())
            .append("lotNumber", getLotNumber())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .toString();
    }
}
